﻿<cfsilent>
	<cfscript>
		
		termId = event.getArg("TermID");
		academicYear = event.getArg("AcademicYear");
		academicTerm = event.getArg("AcademicTerm");
		
		changeType = event.getArg("T");
		
		studentId = event.getArg("STU");
		
		docId = event.getArg("DOCID");
		
		currentTab = event.getArg("TabID", "labFeed");
		
		passArgs = structNew();
		structInsert( passArgs, "T", changeType );
		structInsert( passArgs, "TID", termId );
		structInsert( passArgs, "STU", studentId );
		structInsert( passArgs, "DOCID", docId );
		
		sql = "SELECT a.sct_name
				FROM t_stuchange_type a 
				WHERE a.sct_code = :changeType ";
				
		queryObj = new Query( datasource=application.dnsSlave );
		queryObj.addParam( name="changeType", value=changeType, cfsqltype = "cf_sql_char");

		rs_operObj = queryObj.execute( sql=sql ).getResult();
		
		sql = "SELECT a.stu_id,
					   a.stu_name 
				FROM t_student a 
				WHERE a.stu_id = :studentId ";
				
		queryObj = new Query( datasource=application.dnsSlave );
		queryObj.addParam( name="studentId", value=studentId, cfsqltype = "cf_sql_varchar");

		rs_student = queryObj.execute( sql=sql ).getResult();
		
		sql = "SELECT a.op_description 
				FROM t_stuchange a 
				WHERE a.stuchg_id = :docId ";
				
		queryObj = new Query( datasource=application.dnsSlave );
		queryObj.addParam( name="docId", value=docId, cfsqltype = "cf_sql_char");

		rs_studentChange = queryObj.execute( sql=sql ).getResult();
		
		event.setArg("pageTitle", "学生学籍管理 - 学籍异动 - " & rs_operObj.sct_name & "向导");
		
	</cfscript>
</cfsilent>

<div id="headArea">
	<div class="uiHeader uiHeaderWithImage ptm">
		<div class="clearfix uiHeaderTop">
			<div class="uiHeaderActions rfloat">
				<a class="uiButton" href="<cfoutput>#buildURL('studentStatusChange')#</cfoutput>"><i class="mrs img btnList"></i><span class="uiButtonText">学籍异动</span></a>
			</div>
			<div>
				<h2 class="uiHeaderTitle">
					<i class="uiHeaderImage img icon16x16 card"></i>学籍异动向导 <cfoutput>#rs_operObj.sct_name#</cfoutput> 
				</h2>
			</div>
		</div>
	</div>
</div>

<!--- 加载导航菜单 --->
<!-- stepMenu-->
<cfoutput>#event.getArg("stepMenu")#</cfoutput>
<!--/stepMenu-->

<div class="UIElement">
	<ul class="senateFirstPage">
		<li>
			<div class="clearfix" id="summary">

				<div class="noticeBlock">
					<div class="operation">
						<!---<a class="uiButton" target="_blank" href="<cfoutput>#buildURL('statusChangePrintNotice', passArgs)#</cfoutput>"><i class="mrs img btnPrint"></i><span class="uiButtonText">打印学籍异动回执单</span></a>--->
					</div>
					<h3><cfoutput>#rs_student.stu_name#</cfoutput> - <cfoutput>#rs_operObj.sct_name#</cfoutput></h3>
					<p>
						<span class="img icon16x16 message"></span>
						该学生学籍异动, <cfoutput>#rs_studentChange.op_description#</cfoutput>操作已完成. 
					</p>
					<hr/>
				</div>
				
				<div class="UIDashBoard">
						
					<div class="col2">
						
						<div class="noticeBlock">
							<p><cfoutput>#rs_operObj.sct_name#</cfoutput></p>
							<ol>
								<li>学生: <cfoutput>#rs_student.stu_name#</cfoutput> <strong><cfoutput>#rs_student.stu_id#</cfoutput></strong></li>
								<li>异动内容: <cfoutput>#rs_studentChange.op_description#</cfoutput></li>
							</ol>
						</div>
					
					</div>
					
					<div class="col2 last">
						
						<div class="noticeBlock">
							<p>学籍异动回执单号</p>
							<p>
								<span class="img icon16x16 message"></span>
								该回执单号仅用于核查学籍异动操作信息
							</p>
							<br/>
							<p><img width="310px"  src="<cfoutput>#getContextRoot()#</cfoutput>/barcode/print/XJYD-<cfoutput>#changeType#</cfoutput>-<cfoutput>#docId#</cfoutput>.png" /></p>
							
						</div>
						
					</div>
					
				</div>
				
				
			</div>
		</li>
	</ul>
</div>

